package com.bjwl.service;

import com.bjwl.pojo.Card;
import com.bjwl.pojo.CardDenomination;
import com.bjwl.pojo.vo.OpenCardVo;
import com.bjwl.utils.PageBean;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: czc
 * @Date:Create：in 2020/4/29 11:24
 * @Description:
 * @Modified By：
 * @Version: 1.0
 */
@Service
public interface CardService {

    void openCard(OpenCardVo openCardVo);

    List<Card> findAllCardList(Integer buid);

    Card findCardById(Integer id);

    Card findCardByCardId(Integer cardtype,Integer cardid);

    void rechargeHoursCard(Card card);

    void rechargeMoneyCard(Card card);

    List<CardDenomination>  findCardAllCarddenomination();

    Float findDenominations(Integer cdid );


    Card SfindCardByCardId(Integer cardid);

    PageBean<Card> findCardBybsid(Integer pageNum, Integer bsid, Integer cardid, String cardvalue, String wstarttime, String wendtime,Integer state);

    void deleteCardStrip(Integer id);

    List<Card> findAllCardId(Integer jsbuid);

    void updateCardByid(Card card);

    void addCreateCard(Card card);
}
